<link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/transisi/styles.css" type="text/css">
<script src="<?php echo base_url(); ?>assets/js/transisi/jquery-1.js" type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/js/transisi/script.js" type="text/javascript"></script>
<script src="<?php echo base_url(); ?>assets/js/transisi/vtem_contf.js" type="text/javascript"></script>

<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/slide/jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/slide/jcarousellite_1.0.1.min.js"></script>

	<div class="container top">
	  <ul class="breadcrumb">
        <?php
		foreach($country as $row){
			if(ucfirst($this->uri->segment(3))==$row['id']){$class = "btn-success";}else{$class = "btn-info";}
			echo'<a href="'.site_url("home").'/country/'.$row['id'].'" class="btn '.$class.'" style="width:88px; margin-bottom:3px">'.$row['name'].'</a> ';
		}
		?>
      </ul>
	  
	  <hr>
	  <!--<iframe frameborder='no' height='470' width='600' scrolling='no' src='http://blank.exitoostore.com/2012/08/sctv.html?autoPlay=false&amp;mute=false&quot;' style='border: 0px solid rgb(255, 255, 255); margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;' ></iframe>-->	
		
		<div id="vtemnewsstack1" class="vtem_news_stack">
		<?php
		if($station_tv!=''){
			foreach($station_tv as $row){
		?>
		<div style="" class="feature">
			<img style="width: 585px; display: inline-block; height: 435px;" class="" src="<?php echo base_url(); ?>assets/img/logo/<?php echo$row['name']; ?>.png">
			<div style="display: none;" class="">
			<table><tbody><tr><td class="">
			<h4 class=""><?php echo$row['name']; ?></h4>
			<embed allowfullscreen="true" allowscriptaccess="always" flashvars="<?php echo$row['link']; ?>" frameborder="0" height="383" width="650" quality="high" scrolling="no" src="http://onlinetvamienk.com/streaming/player.swf"
			style="padding-top: 3px;" type="application/x-shockwave-flash" width="100%" wmode="transparent"></embed> 
			</td></tr></tbody></table>	
			</div>
		</div>
		<?php
			}
		}
		?>
		</div>
	  
	  <hr>
	  
	  <div class="prev" style="background: url(&#39;<?php echo base_url(); ?>assets/img/icon/left-arrow-kecil.png&#39;) no-repeat scroll right 8px;border:0px solid #f2f2f2;cursor:pointer;float:left;height:80px;width:25px;" title="Previous"></div>
	  <div class="next" style="background: url(&#39;<?php echo base_url(); ?>assets/img/icon/right-arrow-kecil.png&#39;) no-repeat scroll left 8px;border:0px solid #f2f2f2;cursor:pointer;float:right;height:80px;width:25px;" title="Next"></div>
	  <div class="blipsContainer anyClass" style="height: 85px; padding-top: 0px; visibility: visible; overflow: hidden; position: relative; z-index: 2; left: 0px; width: 940px;">
	  <ul style="margin: 0px; padding: 0px; position: relative; list-style-type: none; z-index: 1; width: 940px;">
	  <?php
		if($station_tv!=''){
			$no = 1;
			foreach($station_tv as $row){
				if(ucfirst($this->uri->segment(5))==$row['id']){$class = "solid black";}else{$class = "solid green";}
		?>
				<li style="overflow: hidden; float: left; height: 85px;">
				<span class="blip" id="blip_<?php echo$no; ?>" style="width:100px; float:left; padding-left:5px; padding-right:5px; padding-top:1px">
				<?php
				echo'<img src="'.base_url().'assets/img/logo/'.$row['name'].'.png" style="width:95px; height:70px; border:5px '.$class.'; cursor:pointer;">';
				?></span>
				</li>
		<?php
			$no++;
			}
		}
	  ?>
	  </ul>
	  </div>
	  
	  <hr>
	  
	  <div class="form-actions">
        <h2>
          Adding <?php echo ucfirst($this->uri->segment(2));?>
        </h2>
      </div>
	  
	</div>
	
	<script type="text/javascript">		
		$(document).ready(function() {
			// carousel
			$(function() {
			    $(".anyClass").jCarouselLite({
			        btnNext: ".next",
			        btnPrev: ".prev",
			        auto: 9000,
    				speed: 1000,
    				visible: 8
			    });
			});
		});
	</script>